#!/bin/sh

for i in $PLIBDIRS # $PLIBDIRS is exported in 2createpackages
do
	[ -d $i ] || continue
	if [ -e ${i}/libdvdnav.so.5 ] ; then
		ln -sv libdvdnav.so.5 ${i}/libdvdnav.so.4
		ln -sv libdvdnav.so.5 ${i}/libdvdnav.so.3
		ln -sv libdvdnav.so.5 ${i}/libdvdnav.so.2
	fi
	if [ -e ${i}/libdvdnav.so.4 ] ; then
		ln -sv libdvdnav.so.4 ${i}/libdvdnav.so.3
		ln -sv libdvdnav.so.4 ${i}/libdvdnav.so.2
	fi
done
